# class Solution:
#     def canCompleteCircuit(self, gas: List[int], cost: List[int]) -> int:
#         for i in range(len(gas)):
#             if gas[i]>=cost[i]:
#                 count=i+1
#                 gases=gas[i]-cost[i]
#                 while count%len(gas)!=i:
#                     gases+=gas[count%len(gas)]-cost[count%len(gas)]
#                     if gases<0:
#                         break
#                     count+=1
#                 if count%len(gas)==i:
#                     return i
#         return -1